package com.sunwayworld.basemodule.basedata.exporttemplate.dao.impl;

import com.sunwayworld.basemodule.basedata.exporttemplate.bean.LimsExportTemplateBean;
import com.sunwayworld.basemodule.basedata.exporttemplate.dao.LimsExportTemplateDao;
import com.sunwayworld.basemodule.basedata.exporttemplate.mapper.LimsExportTemplateMapper;
import com.sunwayworld.framework.mybatis.mapper.MapperParameter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.sunwayworld.framework.mybatis.dao.MybatisDaoSupport;
import com.sunwayworld.framework.spring.annotation.GikamBean;

import java.util.List;
import java.util.Map;

@Repository
@GikamBean
public class LimsExportTemplateDaoImpl extends MybatisDaoSupport<LimsExportTemplateBean, Long> implements LimsExportTemplateDao {

    @Autowired
    private LimsExportTemplateMapper limsExportTemplateMapper;

    @Override
    public LimsExportTemplateMapper getMapper() {
        return limsExportTemplateMapper;
    }

    @Override
    public List<Map<String, Object>> selectTaskTemplateExport(MapperParameter temp) {
        return getMapper().selectTaskTemplateExport(temp);
    }
}
